<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The Yar_Server_Exception class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yar-concurrent-client.loop.html">Yar_Concurrent_Client::loop</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yar-server-exception.gettype.html">Yar_Server_Exception::getType</a></div>
 <div class="up"><a href="book.yar.html">Yar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.yar-server-exception" class="reference">

 <h1 class="title">The Yar_Server_Exception class</h1>
 

 <div class="partintro"><p class="verinfo">(No version information available, might only be in Git)</p>


  <div class="section" id="yar-server-exception.intro">
   <h2 class="title">简介</h2>
   <p class="para">
     If service threw exceptions, A Yar_Server_Exception will be threw in
     client side.
   </p>
  </div>


  <div class="section" id="yar-server-exception.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">Yar_Server_Exception</strong>
     </span>
     
     <span class="ooclass">
      <span class="modifier">extends</span>
      <a href="class.exception.html" class="classname">Exception</a>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>
    <div class="fieldsynopsis">
     <span class="modifier">protected</span>
      <var class="varname"><a href="class.yar-server-exception.html#yar-server-exception.props.type">$<var class="varname">_type</var></a></var>
    ;</div>


    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="yar-server-exception.gettype.html" class="methodname">getType</a></span>
    ( <span class="methodparam">void</span>
   )</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 继承的方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="exception.getmessage.html" class="methodname">Exception::getMessage</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">Exception</span><span class="methodname"><a href="exception.getprevious.html" class="methodname">Exception::getPrevious</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="exception.getcode.html" class="methodname">Exception::getCode</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="exception.getfile.html" class="methodname">Exception::getFile</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">int</span><span class="methodname"><a href="exception.getline.html" class="methodname">Exception::getLine</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="exception.gettrace.html" class="methodname">Exception::getTrace</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="exception.gettraceasstring.html" class="methodname">Exception::getTraceAsString</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="exception.tostring.html" class="methodname">Exception::__toString</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">final</span> <span class="modifier">private</span> <span class="type">void</span><span class="methodname"><a href="exception.clone.html" class="methodname">Exception::__clone</a></span>
    ( <span class="methodparam">void</span>
   )</div>


   }</div>


  </div>

  

  <div class="section" id="yar-server-exception.props">
   <h2 class="title">属性</h2>
   <dl>

    
     <dt id="yar-server-exception.props.message"><var class="varname"><var class="varname">message</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-server-exception.props.code"><var class="varname"><var class="varname">code</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-server-exception.props.file"><var class="varname"><var class="varname">file</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-server-exception.props.line"><var class="varname"><var class="varname">line</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
    
     <dt id="yar-server-exception.props.type"><var class="varname"><var class="varname">_type</var></var></dt>

     <dd>

      <p class="para"/>
     </dd>

    
   </dl>

  </div>



 </div>

 








<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="yar-server-exception.gettype.html">Yar_Server_Exception::getType</a> — 获取异常的原始类型</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="yar-concurrent-client.loop.html">Yar_Concurrent_Client::loop</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="yar-server-exception.gettype.html">Yar_Server_Exception::getType</a></div>
 <div class="up"><a href="book.yar.html">Yar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
